// 此文件封装3个方法，用于操作token
const key = 'geek'
export const setToken = (token) => {
    localStorage.setItem(key, token)
}

export const getToken = () => localStorage.getItem(key)

export const removeToken = () => {
    localStorage.removeItem(key)
}